package lei;

public class lei {
    private String student;
    private int age;
    private boolean sex;


    public void setAge(int age) {
        this.age = age;
    }
    public int getAge() {
        return age;
    }


//这里是特殊情况
    public void setSex(boolean sex) {
        this.sex = sex;
    }
    public boolean isSex() {
        return sex;
    }



    public void setStudent(String student) {
        this.student = student;
    }
    public String getStudent() {
        return student;
    }



    public void printName(){
        System.out.println(student);
    }
    public void printAge(){
        System.out.println(age);
    }
    public void printSex(){
        System.out.println(sex);
    }
}
